﻿
namespace NClass.StubLanguage
{
	public class StubEvent : Core.Event
	{
		public StubEvent(Core.CompositeType parent) : base("NewEvent", parent) { }

		public override Core.Operation Clone(Core.CompositeType newParent)
		{
			return new StubEvent(newParent);
		}

		protected override string DefaultType { get { return "object"; } }

		public override Core.Language Language { get { return StubLanguage.Instance; } }

		public override void InitFromString(string declaration)
		{
			// Do nothing
		}

		public override string GetDeclaration()
		{
			return Name;
		}
	}
}
